/*
 Navicat Premium Data Transfer

 Source Server         : localDB
 Source Server Type    : MySQL
 Source Server Version : 80017
 Source Host           : localhost:3306
 Source Schema         : dls_db

 Target Server Type    : MySQL
 Target Server Version : 80017
 File Encoding         : 65001

 Date: 12/08/2019 17:00:17
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for cars_t
-- ----------------------------
DROP TABLE IF EXISTS `cars_t`;
CREATE TABLE `cars_t` (
  `id` int(16) NOT NULL AUTO_INCREMENT,
  `carno` varchar(255) DEFAULT NULL COMMENT '车牌号',
  `driver` varchar(255) DEFAULT NULL COMMENT '司机',
  `phone` varchar(32) DEFAULT NULL COMMENT '司机电话',
  `type` varchar(8) DEFAULT '' COMMENT '车辆类型',
  `quality` float DEFAULT NULL COMMENT '载货质量',
  `volume` float DEFAULT NULL COMMENT '载货容积',
  `length` float DEFAULT NULL COMMENT '货箱长',
  `width` float DEFAULT NULL COMMENT '货箱宽',
  `height` float DEFAULT NULL COMMENT '货箱高',
  `province` varchar(100) DEFAULT '' COMMENT '收货人省',
  `city` varchar(100) DEFAULT '' COMMENT '收货人市',
  `status` varchar(8) DEFAULT '' COMMENT '车辆状态（未处理，处理中，已处理）',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

-- ----------------------------
-- Table structure for goods_t
-- ----------------------------
DROP TABLE IF EXISTS `goods_t`;
CREATE TABLE `goods_t` (
  `id` int(16) NOT NULL AUTO_INCREMENT,
  `billno` varchar(255) DEFAULT NULL COMMENT '运单号',
  `shipper` varchar(255) DEFAULT NULL COMMENT '发货人',
  `type` varchar(8) DEFAULT '' COMMENT '货物类别',
  `quality` int(16) DEFAULT NULL COMMENT '质量',
  `volume` int(16) DEFAULT NULL COMMENT '容积',
  `length` int(16) DEFAULT NULL COMMENT '长',
  `width` int(16) DEFAULT NULL COMMENT '宽',
  `height` int(16) DEFAULT NULL COMMENT '高',
  `consignee` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '收货人',
  `phone` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '收货人电话',
  `province` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '收货人省',
  `city` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '收货人市',
  `address` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '收货人地址',
  `status` varchar(8) DEFAULT '' COMMENT '货物状态（未处理，处理中，已处理）',
  `carId` int(16) DEFAULT NULL COMMENT '货车ID',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=18 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of goods_t
-- ----------------------------
BEGIN;
INSERT INTO `goods_t` VALUES (1, '12', '12', '12', 21, 21, 212, 12, 12, '1', '21', '21', '2', '12', '12', 1);
INSERT INTO `goods_t` VALUES (2, '21', '78', '787', 878, 78, 78, 9, 79, '7', '987', '897', '89', '798', '789', 79789);
INSERT INTO `goods_t` VALUES (3, '78', '78', '78', 78, 78, 8989, 8, 456, '564', '5', '46', '456', '4', '65', NULL);
INSERT INTO `goods_t` VALUES (4, '78', '78', '78', 78, 78, 8989, 8, 456, '564', '5', '46', '456', '4', '65', NULL);
INSERT INTO `goods_t` VALUES (5, '78', '78', '78', 78, 78, 8989, 8, 456, '564', '5', '46', '456', '4', '65', NULL);
INSERT INTO `goods_t` VALUES (6, '78', '78', '78', 78, 78, 8989, 8, 456, '564', '5', '46', '456', '4', '65', NULL);
COMMIT;

-- ----------------------------
-- Table structure for sys_user_t
-- ----------------------------
DROP TABLE IF EXISTS `sys_user_t`;
CREATE TABLE `sys_user_t` (
  `id` int(16) NOT NULL AUTO_INCREMENT,
  `account` varchar(100) NOT NULL COMMENT '登录账号',
  `username` varchar(200) DEFAULT '' COMMENT '用户昵称',
  `password` varchar(100) NOT NULL COMMENT '密码',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of sys_user_t
-- ----------------------------
BEGIN;
INSERT INTO `sys_user_t` VALUES (1, 'admin', 'admin', '123');
COMMIT;

SET FOREIGN_KEY_CHECKS = 1;
